package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-18
 */
@Data
@DbTable(tableName = "t_iot_device_toilets")
public class IotDeviceToilets extends BaseEntity {
        /**
     * 数据id
     */
    @DbTableField(columnName = "c_data_id", dbType = DbTypeEnum.VARCHAR)
    public String dataId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_device_code", dbType = DbTypeEnum.VARCHAR)
    public String deviceCode ;

    /**
     * 数据时间
     */
    @DbTableField(columnName = "c_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime date ;

    /**
     * 女厕客流量（人次）
     */
    @DbTableField(columnName = "c_nvrll", dbType = DbTypeEnum.INTEGER)
    public Integer nvrll ;

    /**
     * 女厕温度(摄氏度)
     */
    @DbTableField(columnName = "c_nvwd", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nvwd ;

    /**
     * 女厕湿度(%)
     */
    @DbTableField(columnName = "c_nvsd", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nvsd ;

    /**
     * 女厕氨气(mg/m3)
     */
    @DbTableField(columnName = "c_nvnh3", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nvnh3 ;

    /**
     * 女厕硫化氢(mg/m3)
     */
    @DbTableField(columnName = "c_nvh2s", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nvh2s ;

    /**
     * 女厕空位(个)
     */
    @DbTableField(columnName = "c_nvkw", dbType = DbTypeEnum.INTEGER)
    public Integer nvkw ;

    /**
     * 男厕客流量（人次）
     */
    @DbTableField(columnName = "c_nrll", dbType = DbTypeEnum.INTEGER)
    public Integer nrll ;

    /**
     * 男厕温度(摄氏度)
     */
    @DbTableField(columnName = "c_nwd", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nwd ;

    /**
     * 男厕湿度(%)
     */
    @DbTableField(columnName = "c_nsd", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nsd ;

    /**
     * 男厕氨气(mg/m3)
     */
    @DbTableField(columnName = "c_nnh3", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nnh3 ;

    /**
     * 男厕硫化氢(mg/m3)
     */
    @DbTableField(columnName = "c_nh2s", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal nh2s ;

    /**
     * 男厕空位(个)
     */
    @DbTableField(columnName = "c_nkw", dbType = DbTypeEnum.INTEGER)
    public Integer nkw ;

    /**
     * 用电量(KWh)
     */
    @DbTableField(columnName = "c_ydl", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal ydl ;

    /**
     * 用水量(吨)
     */
    @DbTableField(columnName = "c_ysl", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal ysl ;


}
